func github.com/andybalholm/brotli.shannonEntropy
8 uses
github.com/andybalholm/brotli (current package)
bit_cost.go#L10: func shannonEntropy(population []uint32, size uint, total *uint) float64 {
bit_cost.go#L31: var retval float64 = shannonEntropy(population, size, &sum)
encode.go#L251: entropy[1] = shannonEntropy(monogram_histo[:], 3, &dummy)
encode.go#L252: entropy[2] = (shannonEntropy(two_prefix_histo[:], 3, &dummy) + shannonEntropy(two_prefix_histo[3:], 3, &dummy))
encode.go#L255: entropy[3] += shannonEntropy(bigram_histo[3*i:], 3, &dummy)
encode.go#L341: entropy[1] = shannonEntropy(combined_histo[:], 32, &dummy)
encode.go#L344: entropy[2] += shannonEntropy(context_histo[i][0:], 32, &dummy)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |